//
//  HouseTypeData.h
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/5/12.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CellBaseData.h"
#import "NearbyCellData.h"
#import <MapKit/MapKit.h>


//typedef NS_ENUM(NSInteger, CELL_STYLE) {
//    //以下是枚举成员
//    CELL_STYLE_NearBy = 0,
//    CELL_STYLE_Detail = 1,
//    CELL_STYLE_HOURSE_CATEGORY = 2,
//    CELL_STYLE_HOURSE_MAP = 3
//};


@interface HouseTypeData :CellBaseData<MKAnnotation>


//map cell data
@property (nonatomic,assign)  CLLocationCoordinate2D  coordinate;
@property (nonatomic,copy) NSString   *title;
@property (nonatomic,copy) NSString  *subtitle;




//房源id
@property (assign, nonatomic)NSInteger housingId;
//房源所在国家名
@property (copy, nonatomic) NSString *countryName;
//房源所在州名
@property (copy, nonatomic) NSString *stateName;
//房源所在市名
@property (copy, nonatomic) NSString *cityName;
//所属楼盘
@property (copy, nonatomic) NSString *housingName;


//售价人民币
@property (assign, nonatomic) NSInteger totalAmountCNY;
//售价美元
@property (assign, nonatomic) NSInteger totalAmountUSD;
//邮编
@property (assign, nonatomic) NSInteger zip;
//状态：（状态0在库1在售2已售）
@property (copy, nonatomic) NSString *status;
//装修:毛坯，:精装
@property (copy, nonatomic) NSString *decorationName;
//楼层数
@property (assign, nonatomic)NSInteger floor;


//预期租金
@property (assign, nonatomic) CGFloat expectRent;
//预期收益
@property (assign, nonatomic) CGFloat expectYield;

//经度
@property (assign, nonatomic) double longitude;
//维度
@property (assign, nonatomic) double latitude;


////房屋ID
//@property (copy, nonatomic) NSString *houseId;
//卧室
@property (assign, nonatomic) NSInteger bedRoom;
//浴室
@property (assign, nonatomic) NSInteger bathRoom;
//车库
@property (assign, nonatomic) NSInteger garage;

//别墅
@property (copy, nonatomic) NSString *typeName;
//房屋面积
@property (assign, nonatomic) CGFloat areaMi;
//编号
@property (copy, nonatomic) NSString *businessNo;


//中国城,学区房,CBD
@property (copy, nonatomic) NSString *lTypeName;
//现房，期房
@property (copy, nonatomic) NSString *houseTypeName;

////现房数量
//@property (copy, nonatomic) NSString *xianfangCount;

//距离描述（距中国城 约2.1公里
@property (strong, nonatomic) NSMutableArray *disDescArr;
//房型图片
@property (strong, nonatomic) NSArray * fangxingPicsArr;
//房源图
@property (strong, nonatomic) NSArray *fangyuanPicsArr;

////健康健身
//@property (copy, nonatomic) NSString *healthFit;
////周边学校
//@property (copy, nonatomic) NSString *surSchool;
////周边学校详情
//@property (copy, nonatomic) NSString *surSchoolDetail;
////周边配套
//@property (copy, nonatomic) NSString *surroundingFac;
//房屋详情显示的第一个图
@property (copy, nonatomic) NSString *thumb;


//房源标签
@property (strong, nonatomic) NSArray *houseTagsArr;
//房源配套
@property (copy, nonatomic) NSString *housingFac;

//房屋介绍
@property (copy, nonatomic) NSString *detail;
@property (copy, nonatomic) NSString *detailEnglish;

@property (strong, nonatomic) NSMutableArray *nearbyArr;

-(instancetype)initWithDic:(NSDictionary *)dic;


@end
